// ========= Copyright (C) 2009, 2010 Gerald de Jong =================
// This file is part of the Darwin at Home project, distributed
// under the GNU General Public License, version 3.
// You should have received a copy of this license in "license.txt",
// but if not, see http://www.gnu.org/licenses/gpl-3.0.txt.
// ===================================================================

package org.darwinathome.server.persistence;

/**
 * @author Gerald de Jong <geralddejong@gmail.com>
 */

public interface Storage {
    Player get(String email);
    Player authenticate(String email, String password);
    void put(Player player);
    int getPopulation();
    WorldHistory getWorldHistory();
}
